package snafu.implementation.objects.wind;

import java.awt.Color;

import snafu.framework.objects.WorldObjectItself;
import snafu.framework.states.StateItself;
import snafu.framework.view.Access;
import snafu.implementation.senses.stimuli.pressure.PressureStimulusItself;
import snafu.implementation.states.literals.color.ColorLiteralItself;
import snafu.implementation.states.literals.depth.DepthLiteralItself;

public class WindItself extends WorldObjectItself<WindView> implements Wind {

	@Override
	public WindView createView(Access access) {
		return new WindView(access, this);
	}

	@Override
	public StateItself getInitialState() {
		StateItself state = new StateItself();
		state.addLiteral(new ColorLiteralItself(Color.BLUE, Access.PUBLIC));
		state.addLiteral(new DepthLiteralItself(1 , Access.PUBLIC));
		
		state.addStimulus(new PressureStimulusItself(5, 20));
		
		return state;
	}

	@Override
	public String output() {
		return "Wind";
	}
}
